package top.healthylife.gateway.platform.eye.dto.jingyingfengxian.EyeReqBriefCancelDto.req;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import top.healthylife.gateway.dto.annotation.ApiField;
import top.healthylife.gateway.dto.processor.GroupOneMustBeFilledInProcessor;
import top.healthylife.gateway.dto.request.req.ApiReqDto;

import javax.validation.constraints.NotNull;

/**
* @author: GenUtil
* @date: 2020-12-11 23:39:03
*/
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel("简易注销[960]")
public class EyeReqBriefCancelDto extends ApiReqDto {

    @ApiField(value = "公司名", group = GroupOneMustBeFilledInProcessor.class)
    @NotNull(message = "公司名")
    @JsonProperty("name")
    @ApiModelProperty(value = "公司名", example = "上海著远网络信息技术有限公司")
    private String name;

    @ApiField(value = "公司id", group = GroupOneMustBeFilledInProcessor.class)
    @NotNull(message = "公司id")
    @JsonProperty("id")
    @ApiModelProperty(value = "公司id", example = "1657833888")
    private Long id;

    @ApiField(value = "（id、name、统一信用代码，只需输入其中一个）")
    @NotNull(message = "（id、name、统一信用代码，只需输入其中一个）")
    @ApiModelProperty(value = "（id、name、统一信用代码，只需输入其中一个）", example = "上海著远网络信息技术有限公司")
    private String keyword;

}
